package com.itgy.apiclientsdk.util;

import cn.hutool.crypto.digest.DigestAlgorithm;
import cn.hutool.crypto.digest.Digester;

public class SignUtil {
    public static String getSign(String body, String secretKey)
    {
        Digester md5 = new Digester(DigestAlgorithm.SHA256);
        String content = body+"."+secretKey;
        String digestHex = md5.digestHex(content);


        return digestHex;
    }
}
